package com.example.designPatten.factory.abstractFactory;

/**
* @Title:   []
* @Description: 
* @Date : 2016年4月25日上午11:31:45
* @Company: SI-TECH
* @author : LIJXD
* @version : 1.0
* @modify history
*  <p>修改日期    修改人   修改目的<p> 	
*/
public class PizzaTest {
		public static void main(String[] args) {
			PizzaIngredientFactory nyIngredientFactory = new NYPizzaIngredientFactory();
			PizzaIngredientFactory canadaIntgeditFactory = new CanadaPizzaIngredientFactory();	

			PizzaStore clamStore = new ClamPizzaStore();
			PizzaStore veggieStore = new VeggiePizzaStore();
			
			clamStore.createPizza(nyIngredientFactory);
			System.out.println("-----------------");
			veggieStore.orderPizza(canadaIntgeditFactory);
		}
	
}
